﻿using FluentNHibernate.Mapping;
using SimpleTasks.Domain.Model;

namespace SimpleTasks.Persistence.Hibernate.Mapping
{
   class TaskMap : ClassMap<SimpleTask>
   {
      TaskMap()
      {
         Id(m => m.Id).GeneratedBy.GuidComb();
         Map(m => m.Description);
      }
   }
}
